package com.chinabank.model;

import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table(name="t_demand_report")
public class DemandReport {
	
	private Long id;
	private Account applier;
	private String jobTitle;
	private String jobGrade;
	private String reportSuperiors;
	private String demandNum;
	private Date expReleaseDate;
	private String urgency;
	private List<Account> resumeScreeners;
	private String expPostChannel;
	private String jobDesc;
	private String qualifications;
	//申请最终结果
	private Boolean status;
	
	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@ManyToMany
	public List<Account> getResumeScreeners() {
		return resumeScreeners;
	}
	public void setResumeScreeners(List<Account> resumeScreeners) {
		this.resumeScreeners = resumeScreeners;
	}
	
	@ManyToOne
	public Account getApplier() {
		return applier;
	}
	public void setApplier(Account applier) {
		this.applier = applier;
	}
	public String getJobTitle() {
		return jobTitle;
	}
	public void setJobTitle(String jobTitle) {
		this.jobTitle = jobTitle;
	}
	public String getJobGrade() {
		return jobGrade;
	}
	public void setJobGrade(String jobGrade) {
		this.jobGrade = jobGrade;
	}
	public String getReportSuperiors() {
		return reportSuperiors;
	}
	public void setReportSuperiors(String reportSuperiors) {
		this.reportSuperiors = reportSuperiors;
	}
	public String getDemandNum() {
		return demandNum;
	}
	public void setDemandNum(String demandNum) {
		this.demandNum = demandNum;
	}
	public Date getExpReleaseDate() {
		return expReleaseDate;
	}
	public void setExpReleaseDate(Date expReleaseDate) {
		this.expReleaseDate = expReleaseDate;
	}
	public String getUrgency() {
		return urgency;
	}
	public void setUrgency(String urgency) {
		this.urgency = urgency;
	}
	
	public String getExpPostChannel() {
		return expPostChannel;
	}
	public void setExpPostChannel(String expPostChannel) {
		this.expPostChannel = expPostChannel;
	}
	public String getJobDesc() {
		return jobDesc;
	}
	public void setJobDesc(String jobDesc) {
		this.jobDesc = jobDesc;
	}
	public String getQualifications() {
		return qualifications;
	}
	public void setQualifications(String qualifications) {
		this.qualifications = qualifications;
	}
	public Boolean getStatus() {
		return status;
	}
	public void setStatus(Boolean status) {
		this.status = status;
	}
	
}
